<nav class="bar bar-tab">
    <a class="tab-item external active" href="javascript:app.turnHref('index.html','#index','index.html#index');">
        <span class="icon icon-home"></span>
        <span class="tab-label">首页</span>
    </a>
    <a class="tab-item external" href="javascript:app.turnHref('index.html','#index','index.html#search');">
        <span class="icon icon-search"></span>
        <span class="tab-label">搜索</span>
    </a>
    <a class="tab-item external" href="javascript:app.turnHref('index.html','#index','index.html#consult');">
        <span class="icon icon-emoji"></span>
        <span class="tab-label">咨询</span>
    </a>
    <a class="tab-item external" href="javascript:app.turnHref('index.html','#index','index.html#mine');">
        <span class="icon icon-me"></span>
        <span class="tab-label">用户</span>
    </a>
</nav>
<div class="content infinite-scroll index-content" ng-init="getTheIndexGroup()">

    <!-- 轮播图 -->
    <div class="swiper-container" data-space-between='0' data-swiper-autoplay="2000">
        <div class="swiper-wrapper">
            <div class="swiper-slide" ng-repeat="silder in sliderSrcList">
                <img ng-src="{{silder.src[0]}}" alt="" ng-click="$parent.turnDetail(silder)">

                <p class="img-words" ng-click="$parent.turnDetail(silder)">{{silder.groupTitle}}</p>
            </div>
        </div>
        <div class="swiper-pagination"></div>
    </div>

    <!-- 团类型 -->
    <div class="type-content" id="my-type-content" ng-init="type_height()">
        <ul>
            <li ng-click="saveToSearch(10,'丸药')">
                <label>
                    <i></i>
                </label>
                <span>丸药</span>
            </li>
            <li ng-click="saveToSearch(11,'汤药')">
                <label>
                    <i></i>
                </label>
                <span>汤药</span>
            </li>
            <li ng-click="saveToSearch(9,'膏药')">
                <label>
                    <i></i>
                </label>
                <span>膏药</span>
            </li>
            <li ng-click="saveToSearch(12,'针灸')">
                <label>
                    <i></i>
                </label>
                <span>针灸</span>
            </li>
            <li ng-click="saveToSearch(13,'食疗')">
                <label>
                    <i></i>
                </label>
                <span>食疗</span>
            </li>
            <li ng-click="saveToSearch(14,'养颜')">
                <label>
                    <i></i>
                </label>
                <span>养颜</span>
            </li>
            <li ng-click="saveToSearch(15,'调理')">
                <label>
                    <i></i>
                </label>
                <span>调理</span>
            </li>
            <li>
                <a style="width: 100%; height: 100%; display: block;"
                   href="javascript:app.turnHref('index.html','#index','index.html#active');">
                    <label>
                        <i></i>
                    </label>
                    <span style="color: #000000;">活动</span>
                </a>

            </li>
        </ul>
    </div>

    <div class="recommend-content">
        <div class="row">
            <div class="col-50 group-item" ng-repeat="group in allGroup" ng-click="$parent.turnDetail(group)">
                <img ng-src="{{group.src[0]}}" alt="">

                <div class="c-detail">
                    <div class="c-title">{{group.groupTitle}}</div>
                    <div class="c-group">
                        <span class="c-price">{{group.groupPrice | currency:'￥'}}</span>
                        <span class="c-num">{{group.groupNowNumber}}/{{group.groupTargetNumber}}</span>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <!-- 加载提示符 -->
    <div class="infinite-scroll-preloader">
        <div class="preloader"></div>
    </div>
</div>

<div class="bar bar-header bar-to-search to-padding-top">
    <div class="search-color searchbar">
        <a class="search-color searchbar-cancel" ng-click="saveToSearch(null,null)">搜索</a>

        <div class="search-input">
            <label class="search-color icon icon-search " for="search"></label>
            <input type="search" class="search-color" id='search' ng-model="keyWords" placeholder='输入关键字...'/>
        </div>
    </div>
</div>


<div ng-init="suiMobileInit(true)"></div>